home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 1
/
Wayzata's Best of Shareware for PC-Windows - Release 1 - Wayzata Technology (1993).iso
/
mac
/
ZIPPED
/
DOS
/
TELECOMM
/
PTT117.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-10-31
|
2KB
|
63 lines
echo off
ECHO -------------------------------------------
ECHO INSTALL BATCH FILE FOR PTT
ECHO SYNTAX :
ECHO INSTALL drive [directory or \PTT]
ECHO meaning
ECHO drive is the drive on which to install
ECHO PTT (e.g. C:)
ECHO directory is the directory in which
ECHO to install PTT on the drive
ECHO If no directory is specified,
ECHO the default is \PTT
ECHO -------------------------------------------
if %1~==~ goto noparm
if %2~==~ goto oneparm
echo -------------------------------------------
echo This procedure will install PTT on your
echo '%1' disk into the directory \%2
echo -------------------------------------------
pause
md %1\%2
:dirdone
copy PTT.exe %1\%2
copy PTT.hlp %1\%2
copy PTT.TXT %1\%2
copy register.doc %1\%2
copy read.me %1\%2
copy PTT.INI %1\%2
copy master %1\%2
if exist PTT.cnf copy PTT.cnf %1\%2
%1
cd \%2
:doinst
PTT
goto exit99
:oneparm
echo -------------------------------------------
echo This procedure will install PTT on your
echo '%1' disk into the directory \PTT
echo -------------------------------------------
pause
md %1\PTT
:dirdone
copy PTT.exe %1\PTT
copy PTT.hlp %1\PTT
copy PTT.TXT %1\PTT
copy register.doc %1\PTT
copy read.me %1\PTT
copy PTT.INI %1\PTT
copy master %1\PTT
if exist PTT.cnf copy PTT.cnf %1\PTT
%1
cd \PTT
goto doinst
:noparm
echo *******************************************
echo You must specify the DRIVE LETTER (C,D,E)
echo on which PTT is to be installed
echo *******************************************
goto exit99
:exit99
exit